/**
 * @Date 2025/1/8 11:29
 * @Created by 衡盛永
 */

package org.example.deploy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.example.deploy.pojo.SysPermission;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysPermissionMapper extends BaseMapper<SysPermission> {
    // 通过角色 id 获取权限 ids
    List<Integer> getPermissionIdsByRoleId(@Param("roleId") Integer roleId);
}
